Retrieve the query assignment policy for a specific query partition.
URL Parameters | |
---|---|
format | The format of the data in the response body.
Allowed values: html , json , or xml . Use this
parameter to override the Accept header. |
Upon success, MarkLogic server returns status code 200 (OK) and the response body contains the partition summary, in the requested format. A status code of 401 (Unauthorized) is returned if the user does not have the necessary privileges.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
http://localhost:8002/manage/v2/databases/example-db/partition-queries/2 ==> Returns the query assignment policy for query partition 2 in the database example-db.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.